package com.itheima.pojo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ServeProject {
    //编号
    private Integer id;
    //名称
    private String name;
    //排序号
    private Integer orderNo;
    //单位
    private String nuit;
    //价格
    private String price;
    //图片
    private String image;
    //护理要求
    private String nursingRequirement;
    //状态
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer status;
    //创建人
    private String createBy;
    //更新人
    private String updateBy;
    //备注
    private String remark;
    //创建时间
    private LocalDateTime createTime;
    //更新时间
    private LocalDateTime updateTime;
}
